

<!DOCTYPE html>
<html lang="zh-CN" data-default-color-scheme=&#34;auto&#34;>



<head>
  <meta charset="UTF-8">
  <link rel="apple-touch-icon" sizes="76x76" href="/img/favicon.png">
  <link rel="icon" type="image/png" href="/img/favicon.png">
  <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  
  <meta name="theme-color" content="#2f4154">
  <meta name="description" content="CodeHope">
  <meta name="author" content="CodeHope">
  <meta name="keywords" content="希望">
  <title>CodeHope</title>

  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" />



<!-- 主题依赖的图标库，不要自行修改 -->

<link rel="stylesheet" href="//at.alicdn.com/t/font_1749284_ba1fz6golrf.css">



<link rel="stylesheet" href="//at.alicdn.com/t/font_1736178_kmeydafke9r.css">


<link  rel="stylesheet" href="/css/main.css" />

<!-- 自定义样式保持在最底部 -->


  <script id="fluid-configs">
    var Fluid = window.Fluid || {};
    var CONFIG = {"hostname":"quancundexiwang.wang","root":"/","version":"1.8.7","typing":{"enable":true,"typeSpeed":70,"cursorChar":"_","loop":false},"anchorjs":{"enable":true,"element":"h1,h2,h3,h4,h5,h6","placement":"left","visible":"hover","icon":""},"progressbar":{"enable":true,"height_px":3,"color":"#29d","options":{"showSpinner":true,"trickleSpeed":100}},"copy_btn":true,"image_zoom":{"enable":true},"toc":{"enable":true,"headingSelector":"h1,h2,h3,h4,h5,h6","collapseDepth":0},"lazyload":{"enable":true,"onlypost":true},"web_analytics":{"enable":false,"baidu":null,"google":null,"gtag":null,"tencent":{"sid":null,"cid":null},"woyaola":null,"cnzz":null,"leancloud":{"app_id":"Mi65hxq7VAFUDwOLeIGAOgiV-gzGzoHsz","app_key":"hMuhiD4FRqhns4giqLiEH9HG","server_url":null}}};
  </script>
  <script  src="/js/utils.js" ></script>
  <script  src="/js/color-schema.js" ></script>
<meta name="generator" content="Hexo 5.3.0"></head>


<body>
  <header style="height: 100vh;">
    <nav id="navbar" class="navbar fixed-top  navbar-expand-lg navbar-dark scrolling-navbar">
  <div class="container">
    <a class="navbar-brand"
       href="/">&nbsp;<strong>CodeHope</strong>&nbsp;</a>

    <button id="navbar-toggler-btn" class="navbar-toggler" type="button" data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <div class="animated-icon"><span></span><span></span><span></span></div>
    </button>

    <!-- Collapsible content -->
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto text-center">
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/">
                <i class="iconfont icon-home-fill"></i>
                村头
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/archives/">
                <i class="iconfont icon-archive-fill"></i>
                归档
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/categories/">
                <i class="iconfont icon-category-fill"></i>
                分类
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/tags/">
                <i class="iconfont icon-tags-fill"></i>
                标签
              </a>
            </li>
          
        
          
          
          
          
            <li class="nav-item">
              <a class="nav-link" href="/about/">
                <i class="iconfont icon-user-fill"></i>
                我
              </a>
            </li>
          
        
        
          <li class="nav-item" id="search-btn">
            <a class="nav-link" data-toggle="modal" data-target="#modalSearch">&nbsp;<i
                class="iconfont icon-search"></i>&nbsp;</a>
          </li>
        
        
          <li class="nav-item" id="color-toggle-btn">
            <a class="nav-link" href="javascript:">&nbsp;<i
                class="iconfont icon-dark" id="color-toggle-icon"></i>&nbsp;</a>
          </li>
        
      </ul>
    </div>
  </div>
</nav>

    <div class="banner" id="banner" parallax=true
         style="background: url('http://qiniuyun.quancundexiwang.wang/20210509090921.png') repeat center center;
           background-size: cover;">
      <div class="full-bg-img">
        <div class="mask flex-center" style="background-color: rgba(0, 0, 0, 0.5)">
          <div class="page-header text-center fade-in-up">
            <span class="h2" id="subtitle" title="就爱吃番茄炒鸡蛋，最好加个鸡蛋！">
              
            </span>

            
          </div>

          
            <div class="scroll-down-bar">
              <i class="iconfont icon-arrowdown"></i>
            </div>
          
        </div>
      </div>
    </div>
  </header>

  <main>
    
      <div class="container nopadding-x-md">
        <div class="py-5" id="board"
          style=margin-top:0>
          
          <div class="container">
            <div class="row">
              <div class="col-12 col-md-10 m-auto">
                


  <div class="row mx-auto index-card" style="position: relative;">
    <div style="background: url('https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=351499770,1971798553&fm=26&gp=0.jpg') repeat center center;
      background-size: cover;filter:blur(3px);width:100%;height:100%;position:absolute;filter:blur(30px);opacity:.4;">
    </div>
    
    
      <div class="col-12 col-md-4 m-auto index-img" >
        <a href="/posts/36877/" target="_self">
          <img src="https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=351499770,1971798553&fm=26&gp=0.jpg" style="object-fit:contain;" alt="Python-WTF表单扩展">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        
        <a href="/posts/36877/">Python-WTF表单扩展</a>
      </h1>

      <p class="index-excerpt">
        <a href="/posts/36877/">
          
          
            
          
          FLASK-WTF for FORM
集成了 wtforms

CSRF 保护

与Flask-Uploads一起支持文件上传


1.FLASK-WTF安装使用1.1 安装配置安装
pip install flask-wtf
配置(WTF_CSRF_SECRET_KEY=&#39;random string&#39;)
app.config[wtf_csrf_secret_key] = 'Cha
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-12-15 17:39" pubdate>
              2020-12-15
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/python/">python</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/flask-form/">flask-form</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card" style="position: relative;">
    <div style="background: url('https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2105453170,3037338344&fm=26&gp=0.jpg') repeat center center;
      background-size: cover;filter:blur(3px);width:100%;height:100%;position:absolute;filter:blur(30px);opacity:.4;">
    </div>
    
    
      <div class="col-12 col-md-4 m-auto index-img" >
        <a href="/posts/34916/" target="_self">
          <img src="https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2105453170,3037338344&fm=26&gp=0.jpg" style="object-fit:contain;" alt="工具-使用`Mitmproxy`抓包工具抓取移动端数据包">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        
        <a href="/posts/34916/">工具-使用`Mitmproxy`抓包工具抓取移动端数据包</a>
      </h1>

      <p class="index-excerpt">
        <a href="/posts/34916/">
          
          
            
          
          使用mitmproxy抓包工具抓取移动端数据包首先安装 mitmproxy 去下载最新的tar包
然后解压到你喜欢的地方
tar -xzvf &#x2F;Users&#x2F;codehope&#x2F;code.hope.env&#x2F;mitmproxy-6.0.2-osx.tar.gz

mitmproxy #执行后直接在终端中开启抓包，默认端口为8080 可以使用-p 指定端口号

mi
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-12-15 10:06" pubdate>
              2020-12-15
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E5%B7%A5%E5%85%B7%E5%B0%8F%E8%83%BD%E6%89%8B/">工具小能手</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/%E6%8A%93%E5%8C%85/">抓包</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card" style="position: relative;">
    <div style="background: url('https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=351499770,1971798553&fm=26&gp=0.jpg') repeat center center;
      background-size: cover;filter:blur(3px);width:100%;height:100%;position:absolute;filter:blur(30px);opacity:.4;">
    </div>
    
    
      <div class="col-12 col-md-4 m-auto index-img" >
        <a href="/posts/4533/" target="_self">
          <img src="https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=351499770,1971798553&fm=26&gp=0.jpg" style="object-fit:contain;" alt="ORM (Flask-Sqlalchemy)-基础版">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        
        <a href="/posts/4533/">ORM (Flask-Sqlalchemy)-基础版</a>
      </h1>

      <p class="index-excerpt">
        <a href="/posts/4533/">
          
          
            
          
          ORM (flask-sqlalchemy)-基础版
ORM (Object Relational Mapping) 对象关系映射


Web 开发中，一个重要的组成部分便是数据库了。Web 程序中最常用的莫过于关系型数据库了，也称 SQL 数据库
文档数据库（如 mongodb）、键值对数据库（如 redis）近几年也逐渐在 web 开发中流行起来，我们习惯把这两种数据库称为 NoSQL 数据库
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-12-14 22:30" pubdate>
              2020-12-14
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/python/">python</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/flask-orm/">flask-orm</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card" style="position: relative;">
    <div style="background: url('https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=351499770,1971798553&fm=26&gp=0.jpg') repeat center center;
      background-size: cover;filter:blur(3px);width:100%;height:100%;position:absolute;filter:blur(30px);opacity:.4;">
    </div>
    
    
      <div class="col-12 col-md-4 m-auto index-img" >
        <a href="/posts/27265/" target="_self">
          <img src="https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=351499770,1971798553&fm=26&gp=0.jpg" style="object-fit:contain;" alt="FLASK框架">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        
        <a href="/posts/27265/">FLASK框架</a>
      </h1>

      <p class="index-excerpt">
        <a href="/posts/27265/">
          
          
            
          
          FLASK WEB框架
1.环境安装1.1修改pip的镜像地址（mac）▶ cd ~
▶ mkdir .pip
▶ touch pip.conf
▶ vim pip.conf
复制进去
[global]
index-url&#x3D;http:&#x2F;&#x2F;mirrors.aliyun.com&#x2F;pypi&#x2F;simple&#x2F;
[install]
trusted-h
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-12-11 17:16" pubdate>
              2020-12-11
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/python/">python</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/flask/">flask</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card" style="position: relative;">
    <div style="background: url('https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=351499770,1971798553&fm=26&gp=0.jpg') repeat center center;
      background-size: cover;filter:blur(3px);width:100%;height:100%;position:absolute;filter:blur(30px);opacity:.4;">
    </div>
    
    
      <div class="col-12 col-md-4 m-auto index-img" >
        <a href="/posts/45137/" target="_self">
          <img src="https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=351499770,1971798553&fm=26&gp=0.jpg" style="object-fit:contain;" alt="Python -进程/线程">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        
        <a href="/posts/45137/">Python -进程/线程</a>
      </h1>

      <p class="index-excerpt">
        <a href="/posts/45137/">
          
          
            
          
          进程和线程
现代操作系统比如Mac OS X，UNIX，Linux，Windows等，都是支持“多任务”的操作系统。
什么叫“多任务”呢？简单地说，就是操作系统可以同时运行多个任务。打个比方，你一边在用浏览器上网，一边在听MP3，一边在用Word赶作业，这就是多任务，
对于操作系统来说，一个任务就是一个进程Process，比如打开一个浏览器就是启动一个浏览器进程，打开一个记事本就启动了一个记事本进
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-11-24 11:14" pubdate>
              2020-11-24
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/python/">python</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/python%E5%9F%BA%E6%9C%AC%E5%8A%9F/">python基本功</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card" style="position: relative;">
    <div style="background: url('https://madewithvuejs.com/uploads/13/09/element_header-1200x627-upscale(1).jpg?token=2c0a63a7496edada1b64e975f921fe25') repeat center center;
      background-size: cover;filter:blur(3px);width:100%;height:100%;position:absolute;filter:blur(30px);opacity:.4;">
    </div>
    
    
      <div class="col-12 col-md-4 m-auto index-img" >
        <a href="/posts/55586/" target="_self">
          <img src="https://madewithvuejs.com/uploads/13/09/element_header-1200x627-upscale(1).jpg?token=2c0a63a7496edada1b64e975f921fe25" style="object-fit:contain;" alt="Element-Ui框架的小坑记">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        
        <a href="/posts/55586/">Element-Ui框架的小坑记</a>
      </h1>

      <p class="index-excerpt">
        <a href="/posts/55586/">
          
          
            
          
          element el-tree组件使用@check-change事件多次触发[已解决]
最近做这个树形联动 比较多 使用element 发现 全选时间多次触发，有多少个节点就出发多少次

&lt;el-tree
  ref="org"
  :data="tree"
  :props="config"
  @check-change="bindAreaChange"
  :show-checkbox
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-09-20 14:41" pubdate>
              2020-09-20
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E5%89%8D%E7%AB%AF/">前端</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/ui%E5%BA%93%E8%B8%A9%E5%9D%91/">ui库踩坑</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card" style="position: relative;">
    <div style="background: url('https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3809780941,1211248538&fm=26&gp=0.jpg') repeat center center;
      background-size: cover;filter:blur(3px);width:100%;height:100%;position:absolute;filter:blur(30px);opacity:.4;">
    </div>
    
    
      <div class="col-12 col-md-4 m-auto index-img" >
        <a href="/posts/19858/" target="_self">
          <img src="https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=3809780941,1211248538&fm=26&gp=0.jpg" style="object-fit:contain;" alt="Vue-使用Vuex的使用习惯">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        
        <a href="/posts/19858/">Vue-使用Vuex的使用习惯</a>
      </h1>

      <p class="index-excerpt">
        <a href="/posts/19858/">
          
          
            
          
          vuex 模块管理1.基本使用
我们在使用vuex经常根据业务把各种数据分模块管理


每一个模块是一个对象，有自己的 state,mutations,getters,actions

我们在vuex的入口文件中/store/index.js,需要使用modules来接受同的模块，这些模块都是一个个的store模块，
/store/index.js
modules: &#123;
      ba
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-09-16 11:00" pubdate>
              2020-09-16
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/vue%E6%A1%86%E6%9E%B6/">vue框架</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/vue-%E4%BD%BF%E7%94%A8vuex%E7%9A%84%E4%BD%BF%E7%94%A8%E4%B9%A0%E6%83%AF/">vue-使用vuex的使用习惯</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card" style="position: relative;">
    <div style="background: url('https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=5497635,54094103&fm=26&gp=0.jpg') repeat center center;
      background-size: cover;filter:blur(3px);width:100%;height:100%;position:absolute;filter:blur(30px);opacity:.4;">
    </div>
    
    
      <div class="col-12 col-md-4 m-auto index-img" >
        <a href="/posts/53420/" target="_self">
          <img src="https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=5497635,54094103&fm=26&gp=0.jpg" style="object-fit:contain;" alt="Git协作常用操作">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        
        <a href="/posts/53420/">Git协作常用操作</a>
      </h1>

      <p class="index-excerpt">
        <a href="/posts/53420/">
          
          
            
          
          Git多人协作常用命令1.搭建两人开发条件首先我们在本地模拟两个开发者的环境

然后分别clone一个仓库里面的项目
git clone https:&#x2F;&#x2F;gitee.com&#x2F;changhao096256&#x2F;test.git.work



(直接拉的 可以忽略)下一步将本地仓库与远端仓库建立一个链接： git remote add 
git remote ad
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-09-15 23:19" pubdate>
              2020-09-15
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E5%B7%A5%E5%85%B7%E5%B0%8F%E8%83%BD%E6%89%8B/">工具小能手</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/git%E4%BB%A3%E7%A0%81%E7%AE%A1%E7%90%86%E5%B7%A5%E5%85%B7/">git代码管理工具</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card" style="position: relative;">
    <div style="background: url('https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3237702793,262763378&fm=26&gp=0.jpg') repeat center center;
      background-size: cover;filter:blur(3px);width:100%;height:100%;position:absolute;filter:blur(30px);opacity:.4;">
    </div>
    
    
      <div class="col-12 col-md-4 m-auto index-img" >
        <a href="/posts/22948/" target="_self">
          <img src="https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3237702793,262763378&fm=26&gp=0.jpg" style="object-fit:contain;" alt="Taro使用 Mobx 状态管理库">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        
        <a href="/posts/22948/">Taro使用 Mobx 状态管理库</a>
      </h1>

      <p class="index-excerpt">
        <a href="/posts/22948/">
          
          
            
          
          MobX
最近新的工作接手了一个电商的跨平台移动端项目，技术栈是taro+react 接触到了一个MobX这个全局状态管理工具，可以全局使用一些数据，登陆信息，购物车相关组件的通讯啊等等。整理一下用法

文档地址https://taro-docs.jd.com/taro/docs/mobx/
安装$ yarn add mobx@4.8.0 @tarojs&#x2F;mobx @tarojs&#x2
        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-09-12 21:28" pubdate>
              2020-09-12
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E5%89%8D%E7%AB%AF-React/">前端-React</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/taro%E8%B7%A8%E5%B9%B3%E5%8F%B0/">taro跨平台</a>
            
          </div>
        
      </div>
    </article>
  </div>

  <div class="row mx-auto index-card" style="position: relative;">
    <div style="background: url('https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=444247071,3464022379&fm=26&gp=0.jpg') repeat center center;
      background-size: cover;filter:blur(3px);width:100%;height:100%;position:absolute;filter:blur(30px);opacity:.4;">
    </div>
    
    
      <div class="col-12 col-md-4 m-auto index-img" >
        <a href="/posts/45885/" target="_self">
          <img src="https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=444247071,3464022379&fm=26&gp=0.jpg" style="object-fit:contain;" alt="Css-Flex布局完全总结">
        </a>
      </div>
    
    <article class="col-12 col-md-8 mx-auto index-info">
      <h1 class="index-header">
        
        <a href="/posts/45885/">Css-Flex布局完全总结</a>
      </h1>

      <p class="index-excerpt">
        <a href="/posts/45885/">
          
          
            
          
          1.Css-flex布局
 Flex 是 Flexible Box 的缩写，意为”弹性布局”


任何一个容器都可以指定为 Flex 布局。

.box&#123;
  display: flex;
&#125;

行内元素也可以使用 Flex 布局。

.box&#123;
  display: inline-flex;
&#125;

Webkit 内核的浏览器，必须加上-webkit前缀。

        </a>
      </p>

      <div class="index-btm post-metas">
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-date"></i>
            <time datetime="2020-09-12 02:44" pubdate>
              2020-09-12
            </time>
          </div>
        
        
          <div class="post-meta mr-3">
            <i class="iconfont icon-category"></i>
            
              <a href="/categories/%E5%89%8D%E7%AB%AF/">前端</a>
            
          </div>
        
        
          <div class="post-meta">
            <i class="iconfont icon-tags"></i>
            
              <a href="/tags/Css%E5%B8%83%E5%B1%80/">Css布局</a>
            
          </div>
        
      </div>
    </article>
  </div>



  <nav aria-label="navigation">
    <span class="pagination" id="pagination">
      <a class="extend prev" rel="prev" href="/page/7/"><i class="iconfont icon-arrowleft"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/6/">6</a><a class="page-number" href="/page/7/">7</a><span class="page-number current">8</span><a class="page-number" href="/page/9/">9</a><a class="page-number" href="/page/10/">10</a><a class="page-number" href="/page/11/">11</a><a class="extend next" rel="next" href="/page/9/"><i class="iconfont icon-arrowright"></i></a>
    </span>
  </nav>
  
  <script>
    for (ele of document.getElementById("pagination").getElementsByTagName("a")) {
      ele.href += '#board';
    }
  </script>



              </div>
            </div>
          </div>
        </div>
      </div>
    

    
      <a id="scroll-top-button" href="#" role="button">
        <i class="iconfont icon-arrowup" aria-hidden="true"></i>
      </a>
    

    
      <div class="modal fade" id="modalSearch" tabindex="-1" role="dialog" aria-labelledby="ModalLabel"
     aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header text-center">
        <h4 class="modal-title w-100 font-weight-bold">搜索</h4>
        <button type="button" id="local-search-close" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body mx-3">
        <div class="md-form mb-5">
          <input type="text" id="local-search-input" class="form-control validate">
          <label data-error="x" data-success="v"
                 for="local-search-input">关键词</label>
        </div>
        <div class="list-group" id="local-search-result"></div>
      </div>
    </div>
  </div>
</div>
    

    
  </main>

  <footer class="text-center mt-5 py-3">
  <div class="footer-content">
    

  </div>
  
  <div class="statistics">
    
    

    
      
        <!-- 不蒜子统计PV -->
        <span id="busuanzi_container_site_pv" style="display: none">
            总访问量 
            <span id="busuanzi_value_site_pv"></span>
             次
          </span>
      
      
        <!-- 不蒜子统计UV -->
        <span id="busuanzi_container_site_uv" style="display: none">
            总访客数 
            <span id="busuanzi_value_site_uv"></span>
             人
          </span>
      
    
  </div>


  
  <!-- 备案信息 -->
  <div class="beian">
    <span>
      <a href="http://beian.miit.gov.cn/" target="_blank" rel="nofollow noopener">
        豫ICP备20009912号-1
      </a>
    </span>
    
  </div>


  
</footer>

<!-- SCRIPTS -->

  <script  src="https://cdn.jsdelivr.net/npm/nprogress@0.2.0/nprogress.min.js" ></script>
  <link  rel="stylesheet" href="https://cdn.jsdelivr.net/npm/nprogress@0.2.0/nprogress.min.css" />

  <script>
    NProgress.configure({"showSpinner":true,"trickleSpeed":100})
    NProgress.start()
    window.addEventListener('load', function() {
      NProgress.done();
    })
  </script>


<script  src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js" ></script>
<script  src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" ></script>
<script  src="/js/debouncer.js" ></script>
<script  src="/js/events.js" ></script>
<script  src="/js/plugins.js" ></script>

<!-- Plugins -->


  
    
  



  
    
  









  <script defer src="https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js" ></script>



  <script defer src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" ></script>




  <script  src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11/lib/typed.min.js" ></script>
  <script>
    (function (window, document) {
      var typing = Fluid.plugins.typing;
      var title = document.getElementById('subtitle').title;
      
      typing(title)
      
    })(window, document);
  </script>



  <script  src="/js/local-search.js" ></script>
  <script>
    (function () {
      var path = "http://qiniuyun.quancundexiwang.wang/xmlSearch.xml";
      var inputArea = document.querySelector("#local-search-input");
      inputArea.onclick = function () {
        searchFunc(path, 'local-search-input', 'local-search-result');
        this.onclick = null
      }
    })()
  </script>















<!-- 主题的启动项 保持在最底部 -->
<script  src="/js/boot.js" ></script>



</body>
</html>
